package vashion.azeroth.core.personal.tran.pojo;

import java.util.Date;

import vashion.azeroth.common.date.DateUtil;
import vashion.azeroth.core.pojo.BaseObject;
import vashion.azeroth.core.support.StatusNameTransform;

public class PersonalRebateInfo extends BaseObject {

	private static final long serialVersionUID = 4475596883498805294L;

	private Long rebateInfoId;

    private String disburseNo;

    private Long publishFileId;

    private Long publishMemberId;

    private String publishMemberName;

    private Long itemId;

    private String itemUrl;

    private Long buyMemberId;

    private String buyMemberName;
    
    private Long memberId;

    private String memberName;

    private Long rebateAmount;

    private Integer status;
    
    private Integer type;

    private Date timeAdd;

    private Long userAdd;
    
    private Date timeEdit;

    private Long userEdit;
    
    private String formula;

    private String remark;
    
    public String getTimeAddStr() {
    	return DateUtil.ymdhmsFormat(timeAdd);
    }
    
    public String getTimeEditStr() {
    	return DateUtil.ymdhmsFormat(timeEdit);
    }
    
    public String getStatusName() {
    	return StatusNameTransform.getRebateInfoStatusName(status);
    }
    
    public String getTypeName() {
    	return StatusNameTransform.getRebateInfoTypeName(type);
    }

    public Long getRebateInfoId() {
        return rebateInfoId;
    }

    public void setRebateInfoId(Long rebateInfoId) {
        this.rebateInfoId = rebateInfoId;
    }

    public String getDisburseNo() {
        return disburseNo;
    }

    public void setDisburseNo(String disburseNo) {
        this.disburseNo = disburseNo;
    }

    public Long getPublishFileId() {
        return publishFileId;
    }

    public void setPublishFileId(Long publishFileId) {
        this.publishFileId = publishFileId;
    }


    public String getPublishMemberName() {
        return publishMemberName;
    }

    public void setPublishMemberName(String publishMemberName) {
        this.publishMemberName = publishMemberName;
    }

    public Long getItemId() {
		return itemId;
	}

	public void setItemId(Long itemId) {
		this.itemId = itemId;
	}

	public String getItemUrl() {
		return itemUrl;
	}

	public void setItemUrl(String itemUrl) {
		this.itemUrl = itemUrl;
	}


    public String getBuyMemberName() {
        return buyMemberName;
    }

    public void setBuyMemberName(String buyMemberName) {
        this.buyMemberName = buyMemberName;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getTimeAdd() {
        return timeAdd;
    }

    public void setTimeAdd(Date timeAdd) {
        this.timeAdd = timeAdd;
    }

    public Long getUserAdd() {
        return userAdd;
    }

    public void setUserAdd(Long userAdd) {
        this.userAdd = userAdd;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Date getTimeEdit() {
		return timeEdit;
	}

	public void setTimeEdit(Date timeEdit) {
		this.timeEdit = timeEdit;
	}

	public Long getUserEdit() {
		return userEdit;
	}

	public void setUserEdit(Long userEdit) {
		this.userEdit = userEdit;
	}

	public void setRebateAmount(Long rebateAmount) {
		this.rebateAmount = rebateAmount;
	}

	public Long getRebateAmount() {
		return rebateAmount;
	}

	public Long getPublishMemberId() {
		return publishMemberId;
	}

	public void setPublishMemberId(Long publishMemberId) {
		this.publishMemberId = publishMemberId;
	}

	public Long getBuyMemberId() {
		return buyMemberId;
	}

	public void setBuyMemberId(Long buyMemberId) {
		this.buyMemberId = buyMemberId;
	}

	public Long getMemberId() {
		return memberId;
	}

	public void setMemberId(Long memberId) {
		this.memberId = memberId;
	}

	public String getMemberName() {
		return memberName;
	}

	public void setMemberName(String memberName) {
		this.memberName = memberName;
	}

	public String getFormula() {
		return formula;
	}

	public void setFormula(String formula) {
		this.formula = formula;
	}
    
}